//
//  ShareListView.h
//  Chamleon-template
//
//  Created by RYAN on 15/9/14.
//
//

#import <UIKit/UIKit.h>
#import <Cordova/CDVPlugin.h>

@protocol ShareDelegate <NSObject>

- (void)shareToSina:(CDVInvokedUrlCommand *)command;

- (void)shareToWeixinFavorite:(CDVInvokedUrlCommand *)command;

- (void)shareToWeixinSession:(CDVInvokedUrlCommand *)command;

- (void)shareToWeixinTimeline:(CDVInvokedUrlCommand *)command;

- (void)shareToQQFriends:(CDVInvokedUrlCommand *)command;

- (void)shareToQQZone:(CDVInvokedUrlCommand *)command;

- (void)shareToQQFavorites:(CDVInvokedUrlCommand *)command;

@end

@interface ShareListView : UIControl

@property (nonatomic, weak) id<ShareDelegate> delegate;

- (void)show:(CDVInvokedUrlCommand *)command;

@end
